package com.github.m6d21.sso.support.annotation;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 *<p>
 *spring mvc 自定义日期参数解析
 *</p>
 *
 * @author liuyang
 * @date 2018/12/18 Tue 22:12:00
 * @since 1.0.0
 */
@Target(ElementType.PARAMETER)
@Retention(RUNTIME)
public @interface RequestDateParam {

    String value() default "";

    String format() default "yyyy-MM-dd hh:mm:ss";

    boolean required() default false;
}
